package com.vue.power.backend.sys.entity;

import com.vue.power.backend.config.uuid.UUIdGenId;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "t_role_associate_tree")
public class RoleAssociateTree {

    // 角色菜单关联唯一标识
    @Id
    @Column(name = "roleAssociatetreeId")
    @KeySql(genId = UUIdGenId.class)
    private String roleAssociatetreeId;
    // 角色唯一标识
    @Column(name = "roleId")
    private String roleId;
    // 菜单唯一标识
    @Column(name = "treeId")
    private String treeId;

    public String getRoleAssociatetreeId() {
        return roleAssociatetreeId;
    }

    public void setRoleAssociatetreeId(String roleAssociatetreeId) {
        this.roleAssociatetreeId = roleAssociatetreeId;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getTreeId() {
        return treeId;
    }

    public void setTreeId(String treeId) {
        this.treeId = treeId;
    }
}
